PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFAnnotation Class / flatten Method / flatten(PDFStructureElement) Method
The structure element that is associated with the annotation appearance.
In This Topic
    flatten(PDFStructureElement) Method
    In This Topic
    Merges the annotation appearance with the page content stream and sets the result as content item for the given structure element.
    After the annotation is flattened, it is removed from the page's annotations collection.
    Syntax
    public void flatten( 
       PDFStructureElement structureElement
    )

    Parameters

    structureElement
    The structure element that is associated with the annotation appearance.
    See Also